// 统一响应格式
const formatResponse = (code, message, data = null) => ({
  code,
  message,
  data
});

module.exports = { formatResponse };    